package com.wanxi.springboot.team.manage.system.mapper;

import com.wanxi.springboot.team.manage.system.model.UserTeam;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author 蒋帆
 * @since 2020-12-21
 */
public interface UserTeamMapper extends BaseMapper<UserTeam> {

    List<Integer> getUserIds();

    int addUserTeam(@RequestParam("list") List<Integer> list,@RequestParam("teamId") Integer teamId);

    int editUserTeam(@RequestParam("list") List<Integer> list,@RequestParam("teamId") Integer teamId);
}
